﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace OurMemory
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }

        private void FormMain_Load(object sender, EventArgs e)
        {
            LOVE frm = new LOVE();
            var result = frm.ShowDialog();
            if (result != DialogResult.OK)
            {
                //非正常登录 
                this.Close();
            }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            using (FormMainHM newForm = new FormMainHM())
            {
                newForm.ShowDialog();
            }
        }

        private void btnOF_Click(object sender, EventArgs e)
        {
            using (FormMainOF newForm = new FormMainOF())
            {
                newForm.ShowDialog();
            }

        }

        private void btnPS_Click(object sender, EventArgs e)
        {
            using (FormMainPS newForm = new FormMainPS())
            {
                newForm.ShowDialog();
            }

        }
    }
}
